<?php
return [
    'success'=>array(
        'insert'=>array('msg'=>'存储数据成功','code'=>0),
        'update'=>array('msg'=>'更新数据成功','code'=>0),
        'delete'=>array('msg'=>'删除数据成功','code'=>0),
        'select'=>array('msg'=>'查询数据成功','code'=>0),
        'upload'=>array('msg'=>'上传文件成功','code'=>0),
        'stop'=>array('msg'=>'暂停成功','code'=>0),
        'comment'=>array('msg'=>'评论成功','code'=>0),
        'back'=>array('msg'=>'恢复数据成功','code'=>0),
        'noData'=>array('msg'=>'未查找到数据','code'=>0),
        'send'=>array( 'msg' => '发送消息成功', 'code' => 0 ),
        'reset'=>array( 'msg'=>'重置密码成功初始密码为123456','code'=>0),
        'updatePasswd'=>array('msg'=>'设置密码成功','code'=>0),
        'auth'=>array('msg'=>'审核成功','code'=>0),
        'auth_agent_number'=>array('msg'=>'授权次数成功','code'=>0),
        'rejected'=>array('msg'=>'驳回成功','code'=>0),
        'withdraw'=>array('msg'=>'提现成功','code'=>0),
        'authDay'=>array('msg'=>'授权有效期成功','code'=>0),
        'agentPayDown'=>['msg'=>'设置为线下打款成功','code'=>0],
        'agent_withdraw'=>['msg'=>'打款给代理成功','code'=>0],
        'delivery'=>['msg'=>'添加送货单成功','code'=>0],
        'deliveryEdit'=>['msg'=>'编辑送货单成功','code'=>0],
        'collection'=>['msg'=>'添加收款单成功','code'=>0],
        'empty'=>['msg'=>'未查询到数据','code'=>0],
        'order'=>['msg'=>'添加订单成功','code'=>0],
        'recevieGoods'=>['msg'=>'收货成功','code'=>0],
        'deliveryGoods'=>['msg'=>'发货成功','code'=>0],
        'focus'=>['msg'=>'关注成功','code'=>0],
        'unFocus'=>['msg'=>'取消关注成功','code'=>0],
        'comment_like0'=>['msg'=>'取消点赞成功','code'=>0],
        'comment_like1'=>['msg'=>'点赞成功','code'=>0],
        'withdraw'=>['msg'=>'提现成功，请等待后台审核','code'=>0],
        'getConfig'=>['msg'=>'成功','code'=>0],
        'card'=>['msg'=>'绑定成功','code'=>0],
        'cancle'=>['msg'=>'取消成功','code'=>0],
        'luckyDraw'=>['msg'=>'抽签成功，已设置中签用户为提前购会员','code'=>0],
    ),
    'error'=>array(
        'insert'=>array('msg'=>'存储数据失败','code'=>201),
        'update'=>array('msg'=>'更新数据失败','code'=>201),
        'delete'=>array('msg'=>'删除数据失败','code'=>201),
        'select'=>array('msg'=>'查询数据失败','code'=>201),
        'upload'=>array('msg'=>'上传文件失败','code'=>201),
        'stop'=>array('msg'=>'暂停失败','code'=>201),
        'comment'=>array('msg'=>'评论失败','code'=>201),
        'back'=>array('msg'=>'恢复数据失败','code'=>201),
        'is_delete'=>array( 'msg'=>'该条数据已删除,无法进行操作','code'=>201),
        'is_admin'=>['msg'=>'超级管理员不允许进行此类操作','code'=>201],
        'dailySetting'=>array('msg'=>'请先设置需提交日报的职务','code'=>201),
        'time'=>array('msg'=>'提醒时间格式错误正确格式如下 17:00','code'=>201),
        'username'=>array('msg'=>'用户不存在请检测用户名是否正确','code'=>201),
        'mobile'=>['msg'=>'手机号不存在请检测用户名是否正确','code'=>201],
        'reset'=>array( 'msg'=>'重置密码失败','code'=>201),
        'updatePasswd'=>array('msg'=>'设置密码失败','code'=>201),
        'not_exis'=>array('msg'=>'数据不存在无法进行操作','code'=>201),
        'auth'=>array('msg'=>'审核失败','code'=>201),
        'auth_agent_number'=>array('msg'=>'授权次数失败','code'=>201),
        'rejected'=>array('msg'=>'驳回失败','code'=>201),
        'withdraw'=>array('msg'=>'提现失败','code'=>201),
        'authDay'=>array('msg'=>'授权有效期失败','code'=>201),
        'agent_withdraw'=>['msg'=>'打款给代理失败','code'=>201],
        'delivery'=>['msg'=>'添加送货单失败','code'=>201],
        'deliveryEdit'=>['msg'=>'编辑送货单失败','code'=>201],
        'empty'=>['msg'=>'未查询到数据','code'=>201],
        'focus'=>['msg'=>'关注失败','code'=>201],
        'unFocus'=>['msg'=>'取消关注失败','code'=>201],
        'comment_like0'=>['msg'=>'取消点赞失败','code'=>201],
        'comment_like1'=>['msg'=>'点赞失败','code'=>201],
        'card'=>['msg'=>'绑定失败','code'=>201],
        'cancle'=>['msg'=>'取消失败','code'=>201],
    ),
    'wechatLogin'=>[
        'unionidNotFound'=>['msg'=>'unionid不存在','code'=>201],
        'openidNotFound'=>['msg'=>'openid不存在，请先关注公众号再进行登陆注册','code'=>201],
        'pleaseRegister'=>['msg'=>'请注册','code'=>201],
        'mobile'=>['msg'=>'当前手机号已绑定其他微信不能再进行绑定此帐号','code'=>201],
        'registerError'=>['msg'=>'注册失败','code'=>201],
        'notCanRegisterByCancel'=>['msg'=>'注销后一个月内不能重新注册','code'=>201],
    ],
    'send'=>array(
        'codeTime'=>array('msg'=>'验证码失效','code'=>201,'time'=>300),
        'codeTrue'=>['msg'=>'验证码错误','code'=>201],
        'getCode'=>array('msg'=>'请先获取验证码','code'=>201),
        'login_status_error'=>array('msg'=>'当前状态已被禁用,无法进行登陆','code'=>201,),
        'passwd'=>array('msg' =>'密码不正确','code'=>201),
        'setPasswd'=>array('msg'=>'原始登陆密码不正确','code'=>201),
        'disable'=>['msg'=>'当前帐号已禁用无法进行登陆','code'=>201]
    ),
    'login'=>array(
        'loginSuccess'=>array('msg'=>'登陆成功','code'=>0),
        'selectCode'=>['msg'=>'获取图片验证码成功','code'=>0],
        'loginExpiration'=>array('msg'=>'登陆已过期,请重新登陆','code'=>202,'value'=>86400*15),
        'login_status_error'=>array('msg'=>'当前状态已被禁用,无法进行登陆','code'=>201,),
        'passwd'=>array('msg' =>'密码不正确','code'=>201),
        'setPasswd'=>array('msg'=>'原始登陆密码不正确','code'=>201),
        'disable'=>['msg'=>'当前帐号已禁用无法进行登陆','code'=>201]
    ),
    'field'=>array(
        'error'=>array('msg'=>'字段类型不符','code'=>201)
    ),
    'setting'=>[
        'end_number'=>['msg'=>'编号重复','code'=>201],
        'number_start'=>['msg'=>'每行起始编号不能大于结束编号','code'=>201],
    ],
    'permission'=>array(
        'add_permission'=>array(
            'success'=>array('msg'=>'给角色分配权限成功','code'=>0),
            'error'=>array('msg'=>'分配权限失败','code'=>201)
        ),
        'select_permission'=>['msg'=>'未查找到拥有菜单权限','code'=>201],
    ),
    'account'=>array(
        'msg'=>'帐号已存在','code'=>201
    ),
	'mobile'=>[
		'isExis'=>['msg'=>'手机号已存在','code'=>201],
		'isBind'=>['msg'=>'手机号已绑定其他帐号不能继续绑定','code'=>201],
	],
    'file'=>array(
        'uploade'=>array(
            'error'=>array('msg'=>'未查找到有文件上传','code'=>201),
            'success'=>array('msg'=>'处理文件成功','code'=>0),
        ),
    ),
    'city'=>array(
        'operations'=>array(
            'no_city'=>array('msg'=>'请选择可 见城市','201')
        )

    ),
    'id'=>array(
        'error'=>array('msg'=>'id不存在,请确认当前传参是否正确','code'=>201),
        'is_number'=>array('msg'=>'Id只能为数字','code'=>201),
    ),
    'area'=>array(
        'province_id_not_exis'=>array('msg'=>'请上传省Id','code'=>201),
        'city_id_not_exis'=>array('msg'=>'请上传市Id','code'=>201),
        'province_check_error'=>array('msg'=>'当前传过来的省id和数据库对应不上','code'=>201),
        'city_check_error'=>array('msg'=>'当前传过来的市id和数据库对应不上','code'=>201),
        'area_check_error'=>array('msg'=>'当前传过来的区id和数据库对应不上','code'=>201),
    ),
    'token'=>array(
        'tokenCheckError'=>array('msg'=>'token错误,请重新进入','code'=>-200),
        'tokenLogin'=>array('msg'=>'请登陆','code'=>-200),
    ),
    "user"=>array(
        "not_uid"=>array('msg'=>'uid为空','code'=>-201),
        "not_user"=>array('msg'=>'用户不存在','code'=>-205),
        "not_setData"=>array('msg'=>'请传输需要修改的数据','code'=>-202),
        "set_user_no_key"=>array('msg'=>'该值不合法','code'=>-20002),
        "notCardId"=>array('msg'=>'请输入身份证号','code'=>-20003),
        "notTrueName"=>array('msg'=>'请输入真实姓名','code'=>-20004),
        "notMobile"=>array('msg'=>'未绑定手机号','code'=>-95102),
    ),
    "order_opus"=>array(
        "no_head_id"=>array('msg'=>'团长id为空','code'=>-20001),
    ),
    "writer_verify"=>array(
        "no_id"=>array('msg'=>'请选择要审核的信息','code'=>-20001),
        "already"=>array('msg'=>'已被审核','code'=>-202),
    ),
    'userIndex'=>array(
        'userAddr'=>array(
            'del_check_id'=>array(
                'msg'=>'未查找到该 数据请确认该数据是否已被删除',
                'code'=>201
            ),
            'nothimself'=>array(
                'msg'=>'你好，该条数据不是你所拥有删除失败',
                'code'=>201
            )
        ),
        'nothimself'=>array(
            'msg'=>'你好，该条数据不是你所拥有删除失败',
            'code'=>201
        ),
        'statusNoOperation'=>array(
            "msg"=>"你好，当前状态不允许进行此操作",
            'code'=>201
        ),
    ),
    "user_withdraw_verify"=>array(
        "not_find"=>array('msg'=>'不存在','code'=>-205),
        "reviewed"=>array('msg'=>'已审核过','code'=>-206),
    ),
    'focus'=>[
        'status1'=>['msg'=>'当前已关注该用户,无需再关注','code'=>201],
        'status0'=>['msg'=>'已取消关注该用户，无需再次取消','code'=>201],
        'status-1'=>['msg'=>'未关注该用户,请先关注','code'=>201],
    ],
    'risk'=>['msg'=>'当前帐号已进入风控黑名单不能再进行登陆','code'=>201],
    'cache'=>['msg'=>'程序处理中。请不要重复操作','code'=>201],
    'goods'=>[
    	'type'=>[
    		'statusDown'=>['msg'=>'当前分类已下架','code'=>201],
    		'is_del'=>['msg'=>'当前产品分类已删除','code'=>201]
    	],
    	'findUserAddr'=>['msg'=>'用户收货地址不存在，请检查','code'=>201],
    	'goodsDown'=>['msg'=>'商品已下架/已删除,请购买其他商品','code'=>201],
    	'goodsNotExis'=>['msg'=>'商品已下架或不存在，请购买其他商品','code'=>201],
    	'goodsDetailsNotExis'=>['msg'=>'商品sku已下架或不存在','code'=>201],
    	'checkMoney'=>['msg'=>'订单金额不正确,请检查','code'=>201],
    	'unitPrice'=>['msg'=>'商品单价不正确,请检查','code'=>201],
    	'goodsOrder'=>[
    		'insertAddr'=>['msg'=>'存储收货地址失败','code'=>201],
    		'insertOrder'=>['msg'=>'存储订单信息失败','code'=>201],
    		'insertOrderDetails'=>['msg'=>'存储订单信息详情失败','code'=>201],
    	],
    	'stock'=>['msg'=>'当前数量不足无法进行购买','code'=>201],
    	'order'=>[
    		'notPay'=>['msg'=>'当前还有待支付的订单。请先购买后再进行重新下单','code'=>201],
    		'cancle'=>['msg'=>'当前订单状态不是待付款,无法进行取消','code'=>201],
    		'cancleError'=>['msg'=>'取消订单失败,更新状态出错','code'=>201],
    		'deliveryStatusError'=>['msg'=>'当前状态不是已支付状态无法进行发货操作','code'=>201],
    		'deliveryError'=>['msg'=>'更新发货状态失败','code'=>201],
    		'deliveryInsertError'=>['msg'=>'存储发货单号数据失败','code'=>201],
    		'receiveStatusError'=>['msg'=>'当前作品不是已发货的状态无法进行收货','code'=>201],
    		'receiveError'=>['msg'=>'更新订单收货状态失败','code'=>201],
    		'receiveGoodsError'=>['msg'=>'更新订单商品收货状态失败','code'=>201],
    		'courier'=>['msg'=>'请等待平台发货后再查看快递','code'=>201],
    	],
    	'refund'=>[
    		'noUserOrder'=>['msg'=>'非法操作。该订单不是此用户的，不能进行操作','code'=>201],
    		'pay_status'=>['msg'=>'当前状态不允许进行申请退货','code'=>201],
    		'notDetails'=>['msg'=>'当前上传id未查找到具体的商品','code'=>201],
    		'number'=>['msg'=>'申请退化数量不足无法进行退货','code'=>201],
    		'insertRefund'=>['msg'=>'存储退款申请失败','code'=>201],
    		'insertRefundDetails'=>['msg'=>'存储退款申请详情失败','code'=>201],
    		'upOrderStatus'=>['msg'=>'更改订单状态失败','code'=>201],
    		'updateOrderGoodsStatus'=>['msg'=>'更新订单详情退款状态失败','code'=>201],
    		'refundStatus'=>['msg'=>'申请退款成功，请等待平台审核','code'=>0],
    		'cancleStatusError'=>['msg'=>'当前状态不能进行取消','code'=>201],
    		'writeCourierError'=>['msg'=>'填写运单号失败,更新数据出错','code'=>201],
    		'reject'=>[
    			'statusError'=>['msg'=>'无法进行此操作,只有待审核才能执行此操作','code'=>201],
    		],
    		'agree'=>[
    			'statusError'=>['msg'=>'同意退货更新状态失败','code'=>201],
    			'statusSuccess'=>['msg'=>'同意成功，请等待用户填写运单号','code'=>201],
    		],
    		'courier'=>[
    			'statusError'=>['msg'=>'请等待用户填写运单后再同意完成','code'=>201],
    		],
    		'refund_number'=>['msg'=>'当前退货数量不足无法退新用户数量，请联系管理员进行排查数据正常否','code'=>201],
    		'refund_number_error'=>['msg'=>'更新用户数量失败','code'=>201],
    	]
    ],
    'activity'=>[
    	'series_id'=>['msg'=>'当前分类不存在请正确填写','code'=>201],
    	'winning_series_id'=>['msg'=>'当前中签分类不存在请正确填写','code'=>201],
    	'activity_time'=>['msg'=>'活动开始时间不能大于结束时间','code'=>201],
    	'buy_time'=>['msg'=>'活动购买时间不能大于结束时间','code'=>201],
    	'seiesid_not_winning_seriesid'=>['msg'=>'系列和系列分组不是上下级关系','code'=>201],
    	'white_people_status_2'=>['msg'=>'已摇号完成不能再设置白名单','code'=>201],
    	'noMobile'=>['msg'=>'当前手机号不存在/未注册','code'=>201],
    	'white_num'=>['msg'=>'白名单列表总人数不能大于/等于中签人数','code'=>201],
    	'activity_status_2'=>['msg'=>'已摇号完成不能再进行此操作','code'=>201],
    	'statusError2'=>['msg'=>'设置状态为抽签完成失败','code'=>201],
    	'luckyDraw'=>[
    		'status0'=>['msg'=>'活动还未开始不能进行此操作','code'=>201],
    		'empty'=>['msg'=>'未查找到中签的用户,请检查是否有报名或者设置白名单','code'=>201],
    		'luckyNoCache'=>['msg'=>'中奖缓存未找到数据请确认是否已过期或重新抽签','code'=>201],
    		'insertSiteMessage'=>['msg'=>'发送站内信失败','code'=>201],
    		'insertUserLuckyDraw'=>['msg'=>'存储用户中奖记录失败','code'=>201],
    		'updateUserVip'=>['msg'=>'设置用户为提前购用户失败','code'=>201],
    		'vip'=>['msg'=>'请先设置vip,系统会自动获取id最小的值设置给中签用户','code'=>201],
    	]
    ],
    'vip'=>[
    	'hasUser'=>['msg'=>'有用户属于当前VIP，不能删除','code'=>201],
    ],
];